Finding the limit of a function using table of values